memory allocation for structures